PBDTOpenInform
ThePBDTOpenInform
function performs the same function asPBDTGetPath
, but it also reports whether the desktop database was empty when it was opened.
FUNCTION PBDTOpenInform (paramBlock: DTPBPtr): OSErr;
paramBlock
- A pointer to a desktop parameter block.
® ioResult OSErr The result code of the function. --> ioNamePtr StringPtr A pointer to the volume name or full pathname of the desktop database. --> ioVRefNum Integer The volume reference number of the desktop database. ® ioDTRefNum Integer The desktop database reference number. ® ioTagInfo LongInt The return flag (in low bit). DESCRIPTION
If the desktop database was just created in response toPBDTOpenInform
(and is therefore empty),PBDTOpenInform
sets the low bit in theioTagInfo
field to 0. If the desktop database had been created before you calledPBDTOpenInform
,PBDTOpenInform
sets the low bit in theioTagInfo
field to 1.RESULT CODES